                <td  align="center"><?php echo $rs->AttachmentID; ?></td>
                <td  align="center"><?php echo $rs->Name; ?></td>
                <td  align="center"><img style="width:100px;height:100px" src="<?php echo ConfigModel::model()->getConfig('sitefileurl').$rs->Path; ?>"></td>
                <td  align="center"><?php echo $rs->Size; ?></td>
                <td  align="center"><?php echo $rs->Ext; ?></td>
                <td  align="center"><?php echo $rs->Type; ?></td>
                <td  align="center"><?php echo date('Y-m-d', $rs->AddTime);?></td>
                <td  align="center"><?php echo $rs->UploadIP; ?></td>
                <td align="center">
        <?php  
                 $op = array();
                if(RBAC::authenticate('delete')){
                  $op[] = '<a class="J_ajax_del" href="'.AdminBase::U("delete",array('id'=>$rs->AttachmentID)).'" >删除</a>';
                } 
                $op = implode('|', $op);
                echo $op;
         ?>   
                </td>
